class CreateSiteUpdateFrequencies < ActiveRecord::Migration
  require 'active_record/fixtures'

  def self.up
    create_table :site_update_frequencies do |t|
      t.string :name
      t.string :generator_name
      t.string :description

      t.timestamps
      
    end
    
    directory = File.join(File.dirname(__FILE__), "../constant_fixtures") 
    Fixtures.create_fixtures(directory, "site_update_frequencies") 
  end
  
  




  def self.down
    drop_table :site_update_frequencies
  end
end
